//
//  SelectQuestion.h
//  QuizMaster
//
//  Created by Jeppe Nielsen on 3/23/15.
//  Copyright (c) 2015 Jeppe Nielsen. All rights reserved.
//

#pragma once

#include "GameState.hpp"
#include "Game.hpp"
#include "SelectQuestionSystem.hpp"
#include "TransformAnimation.hpp"
#include "BuzzerDevice.hpp"

class WaitForBuzz : public GameState<Game> {
protected:
    void Initialize();
    void Update(float dt);
    void Render();
    void Enabled();
    void Disabled();
private:
    Gui* gui;
    GameObject* bar;
    BuzzerDevice buzzer;
    GameObject* buzzerSound;
    
    void BuzzerDown(int index);
    void ButtonDown(std::string button);
    
    
    GameObject* giveUpButton;
    
    void GiveUpButtonClicked(TouchData d);
};
